package com.syb.dao;

import java.util.List;

import com.syb.entity.function.SysResource;
import com.syb.entity.function.SysRole;
import com.syb.entity.user.SysUser;

public interface LoginDao {
	
	/**
	 * @see��¼��ѯ
	 * @param name
	 * @param password
	 * @return
	 * @throws Exception
	 */
	public List<SysUser> querySysUser(String name,String password) throws Exception;
	
	/**
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 * @see���ϵͳ�û�id��ѯ��Դ
	 */
	public List<SysResource> querySysResource(Integer id) throws Exception;
	
	/**
	 * 查询角色
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public List<SysRole> querySysRole(Integer id) throws Exception;

}
